package com.zp.responsibility;/**
 * @description
 * @author zp
 * @created 2021/9/3 22:25
 */

/**
 * @author zp
 * @description
 * @created 2021/9/3 22:25
 */
public class ConsoleLogger extends AbstractLogger {
    public ConsoleLogger(int level){
        this.level = level;
    }

    protected void write(String message) {
        System.out.println("current level:"+this.level+",message:"+message);
    }
}
